/**
 * output package name
 */
package com.kingdee.eas.jky.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class ChangeWayEnum extends StringEnum
{
    public static final String ALREADY_VALUE = "1";
    public static final String ADDNEWS_VALUE = "2";

    public static final ChangeWayEnum already = new ChangeWayEnum("already", ALREADY_VALUE);
    public static final ChangeWayEnum addnews = new ChangeWayEnum("addnews", ADDNEWS_VALUE);

    /**
     * construct function
     * @param String changeWayEnum
     */
    private ChangeWayEnum(String name, String changeWayEnum)
    {
        super(name, changeWayEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ChangeWayEnum getEnum(String changeWayEnum)
    {
        return (ChangeWayEnum)getEnum(ChangeWayEnum.class, changeWayEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ChangeWayEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ChangeWayEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ChangeWayEnum.class);
    }
}